package com.hnjd.headline.pojo.dto;

import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * 对齐前端的分页对象
 * @param <T> 分页内容的类型
 */

@Data
@NoArgsConstructor
public class PageInfo<T> {
    private List<T> pageData;
    private Long pageNum;
    private Long pageSize;
    private Long totalPage;
    private Long totalSize;
}
